package model;

import vo.MusicVO;

public class Music {
	
	private long id;
	private String filePath;
	private String artist;
	private String name;
	
	public Music(long id, String artist, String name, String filePath){
		this.id = id;
		this.filePath = filePath;
		this.artist = artist;
		this.name = name;
	}
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	
	public String getArtist() {
		return artist;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public MusicVO toVO(){
		return new MusicVO(id, artist, name, filePath);
	}
}
